package com.yellowpage.bigdata.data;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.hibernate.annotations.GenericGenerator;

/**
 * NspFatallogImeiDayregionSum entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "NSP_FATALLOG_IMEI_DAYREGION_SUM")
public class NspFatallogImeiDayregionSum implements java.io.Serializable {

	// Fields

	private Integer fatallogImeiDayregionSumId;
	private String logDate;
	private String regionCode;
	private String requestType;
	private Integer imeiDayCount;
	private Integer imeiAllCount;
	private Integer imeiNewCount;
	private Integer createUser;
	private Date createTime;
	private String note;

	// Constructors

	/** default constructor */
	public NspFatallogImeiDayregionSum() {
	}

	/** full constructor */
	public NspFatallogImeiDayregionSum(String logDate, String regionCode,
			String requestType, Integer imeiDayCount, Integer imeiAllCount,
			Integer imeiNewCount, Integer createUser, Date createTime,
			String note) {
		this.logDate = logDate;
		this.regionCode = regionCode;
		this.requestType = requestType;
		this.imeiDayCount = imeiDayCount;
		this.imeiAllCount = imeiAllCount;
		this.imeiNewCount = imeiNewCount;
		this.createUser = createUser;
		this.createTime = createTime;
		this.note = note;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "identity")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "FATALLOG_IMEI_DAYREGION_SUM_ID", unique = true, nullable = false)
	public Integer getFatallogImeiDayregionSumId() {
		return this.fatallogImeiDayregionSumId;
	}

	public void setFatallogImeiDayregionSumId(Integer fatallogImeiDayregionSumId) {
		this.fatallogImeiDayregionSumId = fatallogImeiDayregionSumId;
	}

	@Column(name = "LOG_DATE", length = 64)
	public String getLogDate() {
		return this.logDate;
	}

	public void setLogDate(String logDate) {
		this.logDate = logDate;
	}

	@Column(name = "REGION_CODE", length = 10)
	public String getRegionCode() {
		return this.regionCode;
	}

	public void setRegionCode(String regionCode) {
		this.regionCode = regionCode;
	}

	@Column(name = "REQUEST_TYPE", length = 10)
	public String getRequestType() {
		return this.requestType;
	}

	public void setRequestType(String requestType) {
		this.requestType = requestType;
	}

	@Column(name = "IMEI_DAY_COUNT")
	public Integer getImeiDayCount() {
		return this.imeiDayCount;
	}

	public void setImeiDayCount(Integer imeiDayCount) {
		this.imeiDayCount = imeiDayCount;
	}

	@Column(name = "IMEI_ALL_COUNT")
	public Integer getImeiAllCount() {
		return this.imeiAllCount;
	}

	public void setImeiAllCount(Integer imeiAllCount) {
		this.imeiAllCount = imeiAllCount;
	}

	@Column(name = "IMEI_NEW_COUNT")
	public Integer getImeiNewCount() {
		return this.imeiNewCount;
	}

	public void setImeiNewCount(Integer imeiNewCount) {
		this.imeiNewCount = imeiNewCount;
	}

	@Column(name = "CREATE_USER")
	public Integer getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(Integer createUser) {
		this.createUser = createUser;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "CREATE_TIME", length = 0)
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "NOTE", length = 128)
	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

}